<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="../js/jquery-1.11.0.js"></script>
<script type="text/javascript">
	/* 当文档加载完毕才会执行里面的方法 */
	$(document).ready(function(){
		$("#actionButton").click(function(){
			alert($("#content").val());
		});
	});
</script>
</head>
<body>
<input type="text" id="content"/>&nbsp;&nbsp;<input type="button" id="actionButton" value="获取内容"/>
</body>
</html>